package skills.jssvc.deu.cn.skillsecond.entry;

/**
 * Created by Administrator on 2019/3/12 0012.
 */

public class Road {

    private int road;
    private int redTime;
    private int yellowTime;
    private int greenTime;

    public Road(int road, int redTime, int yellowTime, int greenTime) {
        this.road = road;
        this.redTime = redTime;
        this.yellowTime = yellowTime;
        this.greenTime = greenTime;
    }

    public int getRoad() {
        return road;
    }

    public void setRoad(int road) {
        this.road = road;
    }

    public int getRedTime() {
        return redTime;
    }

    public void setRedTime(int redTime) {
        this.redTime = redTime;
    }

    public int getYellowTime() {
        return yellowTime;
    }

    public void setYellowTime(int yellowTime) {
        this.yellowTime = yellowTime;
    }

    public int getGreenTime() {
        return greenTime;
    }

    public void setGreenTime(int greenTime) {
        this.greenTime = greenTime;
    }

    @Override
    public String toString() {
        return "Road{" +
                "road=" + road +
                ", redTime=" + redTime +
                ", yellowTime=" + yellowTime +
                ", greenTime=" + greenTime +
                '}';
    }
}
